package com.atguigu.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.gulimall.common.utils.PageUtils;
import com.atguigu.gulimall.product.entity.SkuInfoEntity;
import com.atguigu.gulimall.product.entity.web.*;

import java.util.List;
import java.util.Map;

/**
 * sku信息
 *
 * @author yangni
 * @email 1607401968@qq.com
 * @date 2022-01-22 16:34:30
 */
public interface SkuInfoService extends IService<SkuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSkuInfo(SkuInfoEntity skuInfoEntity);

    List<SkuInfoEntity> getSkusBySpuId(Long spuId);
    /**
     * 查询商品详情
     * @param skuId
     * @return
     */
//    SkuItemVo getSkuItemById(Long skuId);
}

